package com.etrans.util;

import com.etrans.v2.context.PropertiesHolder;

/**
 * 服务器HTTP服务配置类
 */
public class ConfigUtil {

	public static String getFileQueryServer() {
		return PropertiesHolder.getString("${fileQueryServer}");

	}

	public static String getFileServerDownParam() {
		return PropertiesHolder.getString("${fileServerDownParam}");

	}

	public static String getFileServerDownURL() {
		return PropertiesHolder.getString("${fileServerDown}");

	}

	public static String getFileServerURL() {
		return PropertiesHolder.getString("${fileServer}");

	}

	public static String getImgUploadURL() {
		return PropertiesHolder.getString("${imgUploadURL}");

	}

	public static String getAppVersion() {
		return PropertiesHolder.getString("${appVersion}");

	}

	public static String getAppUpdateURL() {
		return PropertiesHolder.getString("${appUpdateURL}");

	}

	public static String getNettyPushIp() {
		return PropertiesHolder.getString("${nettyPushIp}");
	}

	public static int getNettyPushPort() {
		return PropertiesHolder.getInt("${nettyPushPort}");
	}

	public static String getAppWebServiceSiebel() {
		return PropertiesHolder.getString("${appWebServiceSiebel}");
	}
	
	public static String getAppWebServiceMember() {
		return PropertiesHolder.getString("${appWebServiceMember}");
	}
	
	public static String getIsopenlog() {
		return PropertiesHolder.getString("${isopenlog}");
	}
	
	public static String getAuto() {
		return PropertiesHolder.getString("${isopentask}");
	}
	
	public static String getTestUrl() {
		return PropertiesHolder.getString("${testurl}");
	}
	public static String getAppUrl() {
		return PropertiesHolder.getString("${appUrl}");

	}
	public static String getShareImgUrl() {
		return PropertiesHolder.getString("${shareImgUrl}");

	}
	public static String getShareUrl() {
		return PropertiesHolder.getString("${shareUrl}");

	}
	public static String gettShareSendUrl() {
		return PropertiesHolder.getString("${shareSendUrl}");

	}
	public static String getNewYearBeginDate() {
		return PropertiesHolder.getString("${newYearBeginDate}");

	}
	public static String getNewYearEndDate() {
		return PropertiesHolder.getString("${newYearEndDate}");

	}
	
	public static String getValidateTokenUrl() {
		return PropertiesHolder.getString("${validateTokenUrl}");

	}
	
	public static String getObject(String name) {
		return PropertiesHolder.getString("${"+name+"}");
	}

	public static String getPmsSyncCouponAddr() {
		return PropertiesHolder.getString("${pmsSyncCouponAddr}");
	}
}
